package io.coderyeah.org.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.coderyeah.org.domain.Department;
import io.coderyeah.org.dto.DeptDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    List<Department> getList(DeptDTO deptDTO);

    void editType(Integer state, Long id);
}
